<template>
  <div class="main">
    <keep-alive :include="cachePath">
      <router-view></router-view>
    </keep-alive>
    <go-top></go-top>
  </div>
</template>

<script>
import goTop from './components/goTop.vue'
export default {
  data() {
    return {
      show: true,

    };
  },
  methods: {

  },

  components: {

    goTop,
  },
  computed: {
    cachePath() {
      return this.$store.state.cachePath;
    },
  },
};
</script>

<style lang="scss" >
// 公共css
@import "./assets/css/reset.css";
@import "./assets/css/base.css";
</style>